package com.hopital5.zhangyz.model;


import lombok.*;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import java.math.BigDecimal;

@Entity
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ActivityActivityItem extends BaseModelAndLongId {
    @ManyToOne
    private Activity activity;
    @ManyToOne
    private ActivityItem activityItem;
    @ManyToOne
    private People people;
    private BigDecimal number;
}
